#pragma once
#include "Map2ClientTransform.h"

class CDeviceContext;
class CPointGeometry;

class CDrawer
{
public:
	CDrawer(void);
	~CDrawer(void);
	void setDeviceContext(CDeviceContext* pDC){m_pDC = pDC;}
	void setMap2ClientTrans(CMap2ClientTransform* pMap2ClientTrans){m_pMap2ClientTrans = pMap2ClientTrans;}
	void drawPoint(double x, double y);
	void drawLine(CPointGeometry* startPoint, CPointGeometry* endPoint);
	void drawLine(double x1,double y1,double x2,double y2);
    void drawMapLayer(CMapLayer* pLayer);
private:
	CMap2ClientTransform* m_pMap2ClientTrans;
	CDeviceContext* m_pDC;
};
